package com.dc.kotlinfinance.service.impl

import com.dc.kotlinfinance.dao.RequestDao
import com.dc.kotlinfinance.model.*
import com.dc.kotlinfinance.service.RequestService
import org.springframework.beans.factory.annotation.Autowired
import org.springframework.stereotype.Service

/**
 *@createTime 2017/11/14 0014
 *@author DC
 */
@Service
class RequestServiceImpl : RequestService {

    @Autowired
    private lateinit var requestDao:RequestDao



    override fun statisticdaily(rec: StatisticdailyRec): List<StatisDaily> {
        return requestDao.getStatisticdaily(rec)
    }

    override fun sspstatistic(rec: StatisticdailyRec): List<ReqStat1> {
        TODO("not implemented") //To change body of created functions use File | Settings | File Templates.
    }

    override fun totalstatistic(rec: StatisticdailyRec): List<ReqStat> {
        TODO("not implemented") //To change body of created functions use File | Settings | File Templates.
    }

    override fun summary(rec: StatisticdailyRec): SspSummary {
        TODO("not implemented") //To change body of created functions use File | Settings | File Templates.
    }
}